package com.yc.cloud.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yc.cloud.entity.BaseEntity;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 后台资源表
 * </p>
 *
 * @author JackGu
 * @since 2022-09-11
 */
@Data
@TableName("ums_resource")
@ApiModel(value = "UmsResource对象", description = "后台资源表")
public class UmsResource extends BaseEntity {

private static final long serialVersionUID=1L;

        @ApiModelProperty("资源名称")
    @TableField("name")
        private String name;

        @ApiModelProperty("资源URL")
    @TableField("url")
        private String url;

        @ApiModelProperty("描述")
    @TableField("description")
        private String description;

        @ApiModelProperty("资源分类ID")
    @TableField("category_id")
        private Long categoryId;


    public static final String NAME ="name";

    public static final String URL ="url";

    public static final String DESCRIPTION ="description";

    public static final String CATEGORY_ID ="category_id";

        }
